home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1994 February: Tool Chest / Dev.CD Feb 94.toast / New System Software Extensions / QuickDraw™ GX v1.0ß2 / Interfaces & Libraries / interfaces / graphicsBug library.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-07-29  |  1.1 KB  |  47 lines  |  [TEXT/MPS ]

  1. #define creatorType             'gBug'
  2. #ifdef __APPLEEVENTS__
  3.     #define bugEventClass           'gBug'
  4.     
  5.     #define getBugWindowEvent       'gBWi'
  6.     #define selectBugWindowPartEvent    'gBWP'
  7.     #define pasteBugTextEvent       'gBPa'
  8.     #define waitThenContinueEvent       'gBWa'
  9.     
  10.     #define errorString             'errS'
  11.     #define chooseWindowPartBoolean 'cWPB'
  12.     #define quitGraphicsApBoolean       'qGAB'
  13. #endif
  14.  
  15. typedef enum {
  16.     noticeMessage,
  17.     warningMessage,
  18.     errorMessage,
  19.     debugMessage,
  20.     commandMessage
  21. } graphicsBugRequests;
  22.  
  23. typedef enum {
  24.     noAction,
  25.     executeCommand
  26. } graphicsBugCommands;
  27.  
  28. typedef enum {
  29.     graphicsBugReady,
  30.     graphicsBugRunning,
  31.     graphicsBugBusy,
  32.     lastCommandError
  33. } graphicsBugStatus;
  34.  
  35. struct graphicsBugParameters {
  36.     long            message;
  37.     unsigned char   command;
  38.     unsigned char   status;
  39.     unsigned char   toggle;
  40.     char            string[81];
  41. } ;
  42.  
  43. #define maximumIdle 25
  44.  
  45. boolean SendMessageToGraphicsBug(long command, const char *str, unsigned long num, boolean waitForCompletion);
  46. void DirectDebugMessageToGraphicsBug(void);
  47.